<%-- 
    Document   : UserRegister
    Created on : May 18, 2010, 9:42:33 PM
    Author     : vasi
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="ejbs.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>User Register</title>
        <script src="<% out.print(request.getContextPath()); %>/js/jquery.js" type="text/javascript"></script>
        <script src="<% out.print(request.getContextPath()); %>/js/user_edit_register.js" type="text/javascript"></script>
        <link href="<% out.print(request.getContextPath()); %>/styles/default.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <jsp:include page="fragments/Header.jsp" />
        <div id="page">
            <h1>Welcome! Please register below!</h1>
            <div id="page_content">
                <jsp:include page="fragments/Messages.jsp" />
                <form id="form_user_register" action="<% out.print(request.getContextPath()+"/user/register"); %>" method="post">
                    <table>
                        <tr>
                            <td><label for="first_name">First Name:</label></td>
                            <td><input type="text" name="first_name" /></td>
                        </tr>
                        <tr>
                            <td><label for="last_name">Last Name:</label></td>
                            <td><input type="text" name="last_name" /></td>
                        </tr>
                        <tr>
                            <td><label for="email">Email:</label></td>
                            <td><input type="text" name="email" /></td>
                        </tr>
                        <tr>
                            <td><label for="password">Password:</label></td>
                            <td><input type="password" name="password" /></td>
                        </tr>
                        <tr>
                            <td><label for="confirm_password">Confirm Password:</label></td>
                            <td><input type="password" name="confirm_password" /></td>
                        </tr>
                        <tr>
                            <td colspan="2"><input type="submit" name="submit" value="Submit"</td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </body>
</html>
